<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>

<h1>登录页面</h1>
<p style="color: red" th:text="${session.msg}"></p>
<form action="/login" method="post">
    用户名：<input name="userName" value="">
    密码：<input name="password" value="">
    <button type="submit">登录</button>
</form>

</body>
</html>